//
//  YFPersonDataCell.h
//  SquashSpark
//
//  Created by Coollang on 2017/11/15.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef enum : NSUInteger {
    kPersonDataCellTextField = 0,
    kPersonDataCellAlert = 1,
} kPersonDataCellType;

@class YFPersonModel,YFCustomTextField;
@interface YFPersonDataCell : UITableViewCell

- (void)configerCellWithItem:(YFPersonModel *)item;

@property (weak, nonatomic) IBOutlet YFCustomTextField *textField;


/** textField编辑 */
@property (nonatomic, copy) void(^textChangeHandler)(NSString *text);
/** 点击输入框 */
@property (nonatomic, copy)void(^beginEditTextField)(NSString *text);
/** 结束编辑 */
@property (nonatomic, copy)void(^endEdittextField)(NSString *text);

/** 点击键盘上的 Return 按钮 */
@property (nonatomic, copy) void(^clickKeyboardReturn)(NSString *text);


@end
